cmake_minimum_required(VERSION 3.15)
project(design-cpp)
set(CMAKE_CXX_STANDARD 17)
add_subdirectory(chapter1-1FactoryMethod)
add_subdirectory(chapter1-2AbstractFactory)
add_subdirectory(chapter1-3Builder)
add_subdirectory(chapter1-4Prototype)
add_subdirectory(chapter1-5Singleton)
add_subdirectory(chapter2-1Adaptor)
add_subdirectory(chapter2-2Bridge)
add_subdirectory(chapter2-3Composite)
add_subdirectory(chapter2-4Decorator)
add_subdirectory(chapter2-5Facade)
add_subdirectory(chapter2-6Flyweight)
add_subdirectory(chapter2-7Proxy)
add_subdirectory(chapter3-10Visitor)
add_subdirectory(chapter3-1ChainOfResponsibility)
add_subdirectory(chapter3-2Command)
add_subdirectory(chapter3-3Iterator)
add_subdirectory(chapter3-4Mediator)
add_subdirectory(chapter3-5Memento)
add_subdirectory(chapter3-6Observer)
add_subdirectory(chapter3-7State)
add_subdirectory(chapter3-8Strategy)
add_subdirectory(chapter3-9TemplateMethod)